//引入响应式布局
@import url(./../../../../scss//rective.scss);

.detail{
    margin: 0 auto;
    display: flex;
    flex-direction:column;
    font-size: 16px;
    overflow: hidden;
    >p{
        padding-top: 16px;
    }
    >.con{
        width: 100%;
        display: flex;
    }
}
.left{
    width: calc(100% - 20rem - 1rem);
    padding: 0 0 48px;
    color: var(--main-text-color);
    >p{
        color: var(--main-text-color);
        font-weight: 600;
        font-size: 16px;
        line-height: 45px;
    }
    >.main{
        width: 100%;
        background-color: var(--bg-second);
        color: var(--main-text-color);
        display: flex;
        flex-direction: column;
        padding: 12.8px;
        border-radius: 8px;
        img{
            width:778.4px;
        }
        >div{
            text-align: center;
            margin-top: 15px;
            >P:nth-child(1){
                color: var(--main-text-color);
                overflow: hidden;
                font-weight: 600;
                font-size: 16px;
                line-height: 45px;
                text-overflow: ellipsis;
                white-space: nowrap;
            }
            >p:nth-child(2){
                display: -webkit-box;
                max-width: 100%;
                margin-top: .8rem;
                color: var(--second-text-color);
                overflow: hidden;
                font-size: 14px;
                text-overflow: ellipsis;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
            }
            >p:nth-child(3){
                width: 100%;
                margin-top: .4rem;
                color: #8590a6;
                font-size: 14px;
                line-height: 35px;
            }
            >p:nth-child(4){
                text-align: center;
                display: flex;
                align-items: center;
                justify-content: center;
            }
            .btn{
                color: #fff;
                line-height: 30px;
                background-color: #f40a12;
                border-color: #f40a12;
                border: none;
                outline: none;
                text-shadow: 0 -1px 0 rgb(0 0 0 / 12%);
                box-shadow: 0 2px 0 rgb(0 0 0 / 5%)
            }
        }
        >ul{
            padding: 0;
            li{
                list-style: none;
                position: relative;
                display: flex;
                flex-direction:column;
                >p{
                    width: 100%;
                    line-height: 35px;
                    padding:0 16px 0 12px;
                }
                >p:nth-child(2){
                    color: crimson;
                    position:absolute;
                    top: 0;
                    left: 0;
                    display: none;
                    background-color:#ccc;
                    border-radius: 5px;
                    >span:nth-child(2){
                        float: right;
                        path{
                            color: crimson;
                            padding-left: 10px;
                        }
                    }
                }
            }
            li:hover{
                background-color: #ccc;
                border-radius: 5px;
                >p:nth-child(2){
                    display: block;
                }
            }
        }
    }
}
.right{
    margin-left: 16px;
    >p{
        color: var(--main-text-color);
        font-weight: 600;
        font-size: 16px;
        line-height: 45px;
    }
    >div{//其他盒子
    
        >div{
            width: 320px;
            height: 159.2px;
            display: flex;
            padding: 12.8px;
            justify-content: space-between;
            background-color: white;
            border-radius: 8px;
            margin-bottom: 16px;
            background-color: var(--bg-second);
            color: var(--main-text-color);
            >img{
              width: 117.75px;
              height:133.6px;
            }
            >div{
              width: 160.65px;
              height: 100%;
              padding: 16px 0px;
              display: flex;
              flex-direction: column;
              justify-content: space-between;
              >p:first-child{
                color: var(--main-text-color);
                font-weight: 600;
                font-size: 18px;
                line-height: 0px;
                text-overflow: ellipsis;
                white-space: nowrap;
              }
              >p:first-child:hover{
                color: #ff0064;
              }
              >p:nth-child(2){
                display: -webkit-box;
                max-width: 100%;
                margin-top: .5rem;
                flex-shrink: 0;
                color: var(--second-text-color);
                overflow: hidden;
                text-overflow: ellipsis;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
              }
              >P:last-child{
                color: #8590a6;
                line-height:30px;
                flex-shrink: 0;
                text-overflow: ellipsis;
                white-space: nowrap;
                overflow: hidden;
              }
            }
          }
    }
}